/* Author : Putri Andita R
 * 		    091511059
 * Proyek 4*/


package jtk.project4.fleet.field;

import java.awt.FlowLayout;

import nl.coderight.jazz.form.FormField;
import nl.coderight.jazz.form.FormLayout;
import nl.coderight.jazz.form.control.GroupControl;
import nl.coderight.jazz.form.field.button.PushButton;

public class LaborTombolField extends GroupControl{
	
	private PushButton addButton;
	private PushButton editButton;
	private PushButton deleteButton;
	

	
	public LaborTombolField(String bindID){
		setBindID(bindID);
		createFields();
		createLayout();
	}	
	
	private void createFields() {
		addButton = new PushButton("addAction");
		editButton = new PushButton("editAction");
		deleteButton = new PushButton("deleteAction");
		}
	
		
	
	private void createLayout() {
		// TODO Auto-generated methodstub
		setLayout(new FormLayout())
		.addField(addButton)
		.addField(editButton)
		.addField(deleteButton)
		.addRow()
		.addLabel("! Use the 'Labor Associations' area to indicate labor details required")
		.addRow()
		.addLabel("to perform the selected 'PM Service'. When the 'PM Service' is due or chosen," )
		.addRow()
		.addLabel("the labor required to perform the maintenance will be automatically populated on the work order.");
		
		
		}
	


	
}
		
	
	
	